from queue import Queue

q = Queue()
# q.task_done()  # ValueError: task_done() called too many times

q.put(1)
q.task_done()
# q.task_done()  # ValueError: task_done() called too many times

print('All over')
